package com.aizhixin.lab.task.repository;

import com.aizhixin.lab.task.entity.TaskStuFile;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;


public interface TaskStuFileRepository extends JpaRepository<TaskStuFile, String> {
	List<TaskStuFile> findAllByStuIdAndReleaseTaskIdAndDeleteFlag(Long stuId,String releaseTaskId,Integer deleteFlag);
	List<TaskStuFile> findByReleaseQuestionIdAndStuIdAndDeleteFlag(String releaseTaskQuestionId,Long stuId,Integer deleteFlag);
	Integer deleteByReleaseTaskIdAndStuId(String releaseTaskId,Long stuId);
}
